<?php /* Smarty version 3.1.24, created on 2015-09-29 14:29:54
         compiled from "/lanmp/www/eggmstest/public_html/themes/default/common/page_header.lbi" */ ?>
<?php
/*%%SmartyHeaderCode:1330261318560a2fe26793f0_84485820%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dc4df260fce4f4941d7818c7bb0659c638bc37c4' => 
    array (
      0 => '/lanmp/www/eggmstest/public_html/themes/default/common/page_header.lbi',
      1 => 1442222252,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1330261318560a2fe26793f0_84485820',
  'variables' => 
  array (
    '__ISNEW__' => 0,
    'search_keywords' => 0,
    'nav' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.24',
  'unifunc' => 'content_560a2fe26c84c8_08849663',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_560a2fe26c84c8_08849663')) {
function content_560a2fe26c84c8_08849663 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '1330261318560a2fe26793f0_84485820';
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php if (empty($_smarty_tpl->tpl_vars['__ISNEW__']->value)) {?>
<?php echo '<script'; ?>
 type="text/javascript" src="js/jquery.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="js/jquery.json-1.3.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="js/region.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="js/lazyload.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="js/public.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="js/ajax_loading.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
var process_request = "正在处理您的请求...";
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="js/transport.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="js/utils.js"><?php echo '</script'; ?>
>
<?php }?>
<div id="header">
    <div class="top_1">
        <div class="body1">
            <!-- 收藏网址JS -->
            <?php echo '<script'; ?>
 type="text/javascript">
                function addBookmark(){
                    var title="鸡蛋美术商城-美术用品专卖店-正品专卖";
                    var url="http://eggms.com/";
                    if(window.sidebar){
                        try{
                            window.sidebar.addPanel(title,url,'');
                        }catch(e){
                            alert("您的浏览器不支持该功能,请使用Ctrl+D收藏本页");
                        }
                    }else{
                        try{
                            window.external.AddFavorite(url,title);
                        }catch(e){
                            alert("您的浏览器不支持该功能,请使用Ctrl+D收藏本页");
                        }
                    }
                }
            <?php echo '</script'; ?>
>
            <div class="top_1_l">唧！欢迎来到中国最大画材商城~</div>
            <div class="top_1_r">
                <a href="javascript:addBookmark();" target="_self">收藏鸡蛋美术</a>
                <?php if (!$_SESSION['user_id']) {?>
                    <a class="order1" href="user.php">登录</a>
                    <a style="padding: 0px;">/</a>
                    <a class="order2" href="user.php?act=register">注册</a>
                <?php } else { ?>
                    <a href="user.php"><?php echo $_SESSION['user_name'];?>
，欢迎回来！</a>
                    <a href="user.php?act=logout" target="_top"><span class="logout">退出</span></a>
                <?php }?>
                <?php if (!$_SESSION['user_id']) {?>
                    <a href="user.php?act=order_list">我的订单</a>
                <?php } else { ?>
                    <a href="user.php?act=order_list">我的订单</a>
                <?php }?>
                <span class="top_1_q">
                    <a class="order3" target="_blank" href="http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=800099584" title="需启动您的QQ">在线客服<span class="speak"></span></a>
                    <div class="top_1_q_box none">
                        <a class="shouqian" href='http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=800099584'>售前客服</a>
                        <a class="shouhou" href='http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=800099584'>售后客服</a>
                    </div>
                </span>
                <span class="top_1_cart">
                    <a class="order4" href="flow.php" target="_blank">购物车
                        <span class="lanzi"></span>
                        <span class="top_cart_logo4"><span class="cart_number">- <?php echo insert_cart_num(array(),$_smarty_tpl);?>
 -</span></span>
                    </a>
                </span>
                <span class="vertical">|</span>
                <span class="top_1_a">
                    <a class="order5" href="app_introduction.php" >APP<span class="arrow"></span></a>
                    <div class="top_1_app_box none">
                        <a href='http://shouji.360tpcdn.com/141102/09f2bc0937b7477c46f7d6e0e539cdb9/com.eggms.appandroid_2.apk'>一键拥有</a>
                    </div>
                </span>
            </div>
        </div>
    </div>
    <div class="top_2">
        <div class="body2">
            <div class="top_2_left2">
                <a href="/" target="_self"><img src="../themes/default/pic/header_logo.jpg" alt="鸡蛋美术商城" height="65px;" /></a>
            </div>
            <div class="lo">
                <a href="index.php" class="n1 nw">FOUND<br />发现!</a>
                <span></span>
                <a href="shop.php" class="n2">ART MALL<br />美术商城</a>
            </div>
            <div class="top_2_center">
                <form action="search.php" onSubmit="return checkSearchForm()" id="soso_form">
                    <input type="text" id="keywords" name="keywords" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['search_keywords']->value)===null||$tmp==='' ? '' : $tmp);?>
" placeholder="丙粉，色彩革命" autocomplete="off"/>
                    <input name="imageField" type="submit" value="" class="button" style="cursor:pointer;" />
                </form>
                <a href="search.php?keywords=钢笔">钢笔</a>
                <a href="search.php?keywords=油画笔">油画笔</a>
                <a href="search.php?keywords=针管笔" style="color: #b90f0f;">针管笔</a>
                <a href="search.php?keywords=头像照片">头像照片</a>
                <a href="search.php?keywords=漫画墨水" style="color: #b90f0f;">漫画墨水</a>
            </div>
        </div>
    </div>

    <?php if (!empty($_smarty_tpl->tpl_vars['nav']->value)) {?>
    <div class="top_3">
        <div class="body3">
            <div class="nav">
                <span class="nav_1" style="margin-right: 10px;">
                    <a class="all_cate" href="index.php" style="text-align: center;text-indent: 0;">发现 FOUND</a>
                </span>
                <a class="a2 " href="tvd_list.php">主题</a>
                <a class="a2 " href="shop.php">美术商城</a>
                <a class="a2 " href="glair.php">鸡蛋白</a>
                <a class="a2 " href="freeplan.php">圆梦美院计划</a>
                <a class="a2 " href="buyone.php">鸡蛋队长一元包邮</a>
            </div>
        </div>
    </div>
    <?php }?>
    <div class="line"></div>
</div>

<?php echo '<script'; ?>
 type="text/javascript">
    function cate_in(){
        var cate_list_width = $(document.body).width();
        if(cate_list_width < 1209){
            document.getElementById("cate_list").style.width = 1209 + 'px';
        }else{
            document.getElementById("cate_list").style.width = cate_list_width + 'px';
        }

    }
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
    function ajax_cart_info(ever){
        $.ajax({url:'alone.php?act=cart_info_top',type:'post',async:false,dataType:'json',success:function(data){
            if(data.content){
                $(ever).find('.top_cart_bg').show();
                $('.top_cart_bg').html(data.content);
            }
            else{
                $(ever).find('.top_cart_bg_nogoods').show();
            }
        }});
    }
<?php echo '</script'; ?>
>

<?php }
}
?>